/*
 * @Author: scopesang
 * @Date: 2022-05-10 13:30:17
 * @LastEditors: scopesang
 * @LastEditTime: 2022-05-10 13:33:08
 * @FilePath: \TypeScript\src\class\abstract.ts
 *  @Description: abstract  
 *
 * Copyright (c) 2022 by scopesang/大鹏科技, All Rights Reserved.
 */
// 简单一句话：抽象类无法// 定义一个抽象类
abstract class Animal {
    name: string;
    constructor(name: string) {
        this.name = name;
    }
}

let animal = new Animal("张三");    // 无法创建抽象类的实例。

// parseInt 六个0  0.0000005  是 5
5e-7